package net.huashitong.ssydt.sdk.pk;

import feign.Headers;
import feign.Param;
import feign.RequestLine;
import net.huashitong.ssydt.api.pk.entity.SsPkGameRule;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.12.22
 */
public interface SsPkGameRuleRemoteService {

    @RequestLine("GET /pk/game/rule/{id}")
    SsPkGameRule selectByPrimaryKey(@Param("id") Long id);

    @Headers("Content-Type: application/json")
    @RequestLine("PUT /pk/game/rule/selective")
    int updateByPrimaryKeySelective(SsPkGameRule record);

    @Headers("Content-Type: application/json")
    @RequestLine("PUT /pk/game/rule/update/this")
    int updateThis(SsPkGameRule record);

}
